package com.feicheng.service;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.entity.PurchaseHeader;
import com.feicheng.model.PurchaseHeaderWithUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hao.zhang
 * @since 2022-07-04
 */
public interface IPurchaseHeaderService extends IService<PurchaseHeader> {

    /**
     *
     * @param page
     * @param wrapper
     * @author feng.zhang
     * @return
     */
    Page<PurchaseHeaderWithUser> selectPurchaseHeader(
            Page<PurchaseHeaderWithUser> page,
            @Param(Constants.WRAPPER) Wrapper wrapper);

    /**
     *
     * @param wrapper
     * @author clin.song
     * @return
     */
    PurchaseHeaderWithUser selectPurchaseHeaderWithUser(
            @Param(Constants.WRAPPER) Wrapper wrapper);

}
